/*
 * @描述信息: 公共接口
 * @Author:
 */

import http from '@/http/http'

export const dictionaryTree = (obj: object) => http.get('/smart-auxiliary/common/dictionary/tree', obj) // 查询数据字典目录树
export const dictionaryList = (obj: object) => http.post('/smart-auxiliary/common/dictionary/list', obj) // 查询数据字典目录列表
export const dictionarySub = (id: number) => http.get(`/smart-auxiliary/common/dictionary/${id}/join-sub`) // 查询数据字典及其子目录
